package cn.beyond.vehicleManagement.pojo;

import java.io.Serializable;

/**
 * 用户表
 */
public class SysUser implements Serializable {
    private Integer id;//用户Id
    private Integer dept_id;//部门Id
    private String login_name;//登录名
    private String real_name;//真实名字
    private String email;//邮箱
    private String tel;//电话
    private Integer sex;//性别(0 男，1 女)
    private String address;//联系地址
    private String password;//密码
    private Integer status;//用户状态
    private Integer delflag;//删除标志

    public SysUser() {
    }

    public SysUser(Integer id, Integer dept_id, String login_name, String real_name, String email, String tel, Integer sex, String address, String password, Integer status, Integer delflag) {
        this.id = id;
        this.dept_id = dept_id;
        this.login_name = login_name;
        this.real_name = real_name;
        this.email = email;
        this.tel = tel;
        this.sex = sex;
        this.address = address;
        this.password = password;
        this.status = status;
        this.delflag = delflag;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDept_id() {
        return dept_id;
    }

    public void setDept_id(Integer dept_id) {
        this.dept_id = dept_id;
    }

    public String getLogin_name() {
        return login_name;
    }

    public void setLogin_name(String login_name) {
        this.login_name = login_name;
    }

    public String getReal_name() {
        return real_name;
    }

    public void setReal_name(String real_name) {
        this.real_name = real_name;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getDelflag() {
        return delflag;
    }

    public void setDelflag(Integer delflag) {
        this.delflag = delflag;
    }

    @Override
    public String toString() {
        return "SysUser{" +
                "id=" + id +
                ", dept_id=" + dept_id +
                ", login_name='" + login_name + '\'' +
                ", real_name='" + real_name + '\'' +
                ", email='" + email + '\'' +
                ", tel='" + tel + '\'' +
                ", sex=" + sex +
                ", address='" + address + '\'' +
                ", password='" + password + '\'' +
                ", status=" + status +
                ", delflag=" + delflag +
                '}';
    }
}
